/* TaskList Component Styles */

.task-list-task-date {
    color: var(--colorNeutralForeground3); /* tokens.colorNeutralForeground2 */
}

.tab {
  display: flex;
  align-items: center;
  gap: 8px;
  color: var(--colorNeutralForeground2);
  padding: 8px 16px;
  border-radius: 6px;
  font-size: 14px;
  text-decoration: none;
  cursor: pointer;
  transition: background-color 0.2s ease-in-out;
}

.tab:hover {
  background-color: var(--colorSubtleBackgroundHover);
}

.tab:active {
  background-color: var(--colorSubtleBackgroundPressed);
}


/* TASKLIST */

.task-tab {
  display: flex;
  align-items: center;
  padding: 8px 8px 8px 0;
  color: var(--colorNeutralForeground2);
  border-radius: 6px;
  cursor: pointer;
  transition: background-color 0.2s ease-in-out;
  font-size: var(--fontSizeBase00);
  gap: 14px;

}

.task-tab:hover {
  background-color: var(--colorSubtleBackgroundHover);
}

.task-tab.active {
  background-color: var(--colorNeutralBackground1Pressed);
  color: var(--colorNeutralForeground1);
  font-weight: 500;
  
}

.task-tab {
  display: flex;
  align-items: center;
  gap: 8px;
}

.task-tab .left {
  flex: 1;
  min-width: 0;
  display: flex;
  flex-direction: column;
  overflow: hidden;
}

.task-name-truncated {
  position: relative;
  white-space: nowrap;
  overflow: hidden;
  max-width: 100%;
  mask-image: linear-gradient(to right, black 80%, transparent 100%);
  -webkit-mask-image: linear-gradient(to right, black 80%, transparent 100%);
}


.task-tab .sideNavTick {
  width: 2px;
  height: 100%;
  min-height: 32px;
  background-color: var(--colorCompoundBrandStroke);
  opacity: 0;
  flex-shrink: 0;
  transition: opacity 0.2s ease-in-out;
  margin-left: -8px;
  
}

.task-tab.active .sideNavTick {
  opacity: 1;
}

.task-tab .task-menu-button {
  opacity: 0;
  transition: opacity 0.2s ease-in-out;
}

.task-tab:hover .task-menu-button {
  opacity: 1;
}



/* SKELETON */

.task-skeleton-container {
  padding: 8px;
  border-radius: 6px;
  pointer-events: none;
  cursor: default;
  background-color: transparent;
}

.task-skeleton-wrapper {
  display: flex;
  align-items: center;
  gap: 12px;
}

.fui-AccordionPanel {
  max-height: 280px !important;
  overflow-y: auto !important;
  transition: max-height 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.fui-AccordionPanel[aria-hidden="true"] {
  max-height: 0;
  overflow: hidden !important;
  padding-top: 0 !important;
  padding-bottom: 0 !important;
}

